package com.suixun.service;

import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import com.suixun.entity.RptActiveInfo;
import com.suixun.entity.form.ReportActiveForm;
import com.suixun.entity.page.PageModel;

public interface ReportService {
	
	int addReport(ReportActiveForm reportForm);
	
	int deleteReport(ReportActiveForm reportForm);
	
	PageModel<?> queryCustomReportByPaging(ReportActiveForm reportForm);
	
	List<RptActiveInfo> getRenewalIncomes(ReportActiveForm reportForm);
	
	List<RptActiveInfo> getPurchaseIncomes(ReportActiveForm reportForm);
	
	List<RptActiveInfo> getRefundIncomesByYiji(ReportActiveForm reportForm);
	
	List<RptActiveInfo> getDiscountIncomesByWechat(ReportActiveForm reportForm);
	
	HSSFWorkbook exportYijiReport(ReportActiveForm reportForm) throws Exception;
	
	HSSFWorkbook exportWeichatReport(ReportActiveForm reportForm) throws Exception;
}
